#include <stdio.h>


int* Func(int n)
{
    static int a = 0;//
    a = n;
    return &a;
}
int main()
{
    int*p = Func(1);
    printf("*p = %d\n", *p);
    int *q = Func(2);
    printf("*q = %d\n", *q);
}